#include "TranslationUnit.h"
#include <iostream>
#include "ExternalDeclaration.h"

TranslationUnit::~TranslationUnit()
{
	delete m_pExDeclaration;
	if(m_pTransUnit)
		delete m_pTransUnit;
}
void TranslationUnit::codeGen()
{
	COUT
	if(m_pTransUnit)
	{
		m_pTransUnit->codeGen();
	}
	m_pExDeclaration->codeGen();
}
